package com.ocom.webapi.vo.accessaccount;

import com.ocom.common.annotation.Excel;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

@Data
public class ImportVo implements Serializable {

    private static final long serialVersionUID = 5346646912451633286L;
    //设备编号
    @Excel(name = "设备编号(出厂号)")
    private String deviceNo;

    //登录类型，1:羊城通
    @Excel(name = "登录类型 1:羊城通")
    private Long loginType;

    //登录账号
    @Excel(name = "登录账号")
    private String account;

    //登录密码
    @Excel(name = "登录密码")
    private String password;

    //用户名
    @Excel(name = "用户名")
    private String sender;

    //签名秘钥
    @Excel(name = "签名秘钥")
    private String signKey;

    //接口地址
    @Excel(name = "接口地址")
    private String url;

    //备注
    @Excel(name = "备注")
    private String remark;



    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("deviceNo", getDeviceNo())
                .append("loginType", getLoginType())
                .append("account", getAccount())
                .append("password", getPassword())
                .append("sender", getSender())
                .append("signKey", getSignKey())
                .append("url", getUrl())
                .append("remark", getRemark())
                .toString();
    }
}
